﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CollBrowser
{
    /// <summary>
    /// 选中节点实体
    /// </summary>
    public class NodeEntity 
    {
        public TreeNode Node { get; set; }

        public HtmlElement HElemrnt { get; set; }


        /// <summary>
        /// 路径 如 0(body),3(div),0(ul),1(li)
        /// 对应的是
        /// </summary>
        /// <![CDATA[
        /// <body>
        ///     <b>0</b>
        ///     <div>1</div>
        ///     <span>2</span>
        ///     <div>(3)
        ///     <ul> 
        ///         <li>0<li>
        ///         <li>1<li>
        ///     </ul>
        ///     </div>
        /// </body>
        /// ]]>
        public string Path
        {
            get;
            set;
        }
    }
}
